package com.zxx.casserver.modules.role.entity;

import com.zxx.cascommon.base.entity.QueryVO;
import java.io.Serializable;
import java.util.List;

/**
 * 角色管理-前端请求使用
 *
 * @author zhoukai
 * @since 2020-06-30
 */
public class RoleVO extends QueryVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 所属应用ID
     */
    private Long appId;

    /**
     * 所属平台ID
     */
    private Long platformId;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色描述
     */
    private String remark;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 更新时间
     */
    private Long updateTime;

    /**
     * 角色权限列表
     */
    private List<RolePermissionDO> rolePermissionList;


    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getAppId() {
        return appId;
    }

    public void setAppId(Long appId) {
        this.appId = appId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public List<RolePermissionDO> getRolePermissionList() {
        return rolePermissionList;
    }

    public void setRolePermissionList(List<RolePermissionDO> rolePermissionList) {
        this.rolePermissionList = rolePermissionList;
    }

    @Override
    public String toString() {
        return "RoleVO{" +
                "roleId=" + roleId +
                ", appId=" + appId +
                ", platformId=" + platformId +
                ", name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", rolePermissionList=" + rolePermissionList +
                '}';
    }
}
